IdeaBlade DevForce 2010 Help Reference
BooleanUsingBlock Constructor(Action<Boolean>,Boolean)
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > BooleanUsingBlock Class > BooleanUsingBlock Constructor : BooleanUsingBlock Constructor(Action<Boolean>,Boolean)



action
initialValue
Create an instance with the specified action and initial value.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal action As Action(Of Boolean), _
   ByVal initialValue As Boolean _
)
Visual Basic (Usage)Copy Code
Dim action As Action(Of Boolean)
Dim initialValue As Boolean
 
Dim instance As New BooleanUsingBlock(action, initialValue)
C# 
public BooleanUsingBlock( 
   Action<bool> action,
   bool initialValue
)
C++/CLI 
public:
BooleanUsingBlock( 
   Action<bool>^ action,
   bool initialValue
)

Parameters

action
initialValue

Remarks

The action is performed with the initial value provided and its inverse.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.